
// article
.aheader {
  position: absolute;
  z-index: 999;
  width: 100%;
  top: 0;
  height: 60px;
  background: #fff;
  // -webkit-transition: box-shadow 0.3s ease-in;
  // transition: box-shadow 0.3s ease-in;
  font-size: 14px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.doc-head {
  line-height: 60px;
  .doc-head-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
  }
  .header-crumb {
    display: flex;
    height: 100%;
    padding-left: 24px;
    align-items: center;
  }
  .header-action {
    height: 100%;
    align-items: center;
  }
}

.doc-head-affixed {
  position: fixed;
  opacity: 1;
}
.header-crumb {
  float: left;
  padding: 14px 16px;
  display: flex;
  align-items: center;
}
.header-action {
  float: right;
  padding-right: 16px;
  display: flex;
  align-items: center;
}

.ant-breadcrumb {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #595959;
  font-variant: tabular-nums;
  line-height: 1.5;
  list-style: none;
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
  color: #8c8c8c;
  font-size: 14px;
}

.lark-breadcrumb {
  display: flex;
  align-items: center;
  line-height: 1.35;
  .ant-breadcrumb {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    max-width: 100%;
    & > span {
      display: flex;
      align-items: center;
      overflow: hidden;
    }
  }
}
.ant-breadcrumb-separator {
  margin: 0 8px;
  color: #8c8c8c;
}

// aheader

// doc wrapper
.doc-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 60px;
  background: #fff;
}

.doc-main {
  .article {
    margin: 0 auto;
    padding-top: 40px;
  }
  .tocWrapper {
    position: absolute;
    top: 0;
    right: 0;
  }
  .cheader,
  .content {
    position: relative;
  }
  .cheader {
    margin-bottom: 32px;
  }
  .doc-content {
    min-height: 600px;
  }
}

.article {
  // padding-top: 80px;
  max-width: 752px;
}
.doc-width {
  max-width: 752px;
}

.tocWrapper {
  min-width: 200px;
  margin-left: 36px;
  .toc {
    padding-top: 40px;
    // position: fixed;
    top: 60px;
    left: auto;
    width: 200px;
    font-size: 12px;
  }

  .directory {
    width: 100%;
    overflow: auto;
    font-size: 12px;
    .directory-item {
      padding: 3px 10px 3px 16px;
      line-height: 18px;
      border-left: 2px solid #e8e8e8;
      color: #595959;
    }
    .directory-item-link-1 {
      padding-left: 0;
    }
    .directory-item-link-2 {
      padding-left: 1.2em;
    }
    .directory-item-link {
      width: 100%;
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: #595959;
    }
  }
}
.tocFixed {
  top: 0;
  padding-top: 16px;
}

.lake-engine {
  code {
    font-family: monospace;
    font-size: inherit;
    background-color: rgba(0, 0, 0, 0.06);
    padding: 1px 3px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2px 2px;
    line-height: inherit;
    word-wrap: break-word;
    text-indent: 0;
    color: #333;
  }
  p {
    min-height: 24px;
    line-height: 24px;
    white-space: normal;
    margin: 0;
    letter-spacing: 0.05em;
  }
}

// doc wrapper end
